import Mock from "mockjs";

Mock.mock('/list',{
    "list|4":[{
        "id":"@id",
        "txt":"ctitle(2)",
        "children|20":[{
            "id":"@id",
            "txt":"@ctitle(6)",
            "src":"@image(100x100,@color)",
            "price|100-1000":0,
            "con":"@cparagraph()",
            "flag":false,
            "img|4-6":[{
                "src":"@image(100x100,@color)",
            }]
        }]
    }]
})